<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_pca.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_pca.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file contains all the functions prototypes for the PCA firmware library.  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;wb32l003.h&quot;</code><br />
</div>
<p><a href="wb32l003__pca_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___base_init_type_def.html">PCA_BaseInitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCA Configuration Structure definition  <a href="struct_p_c_a___base_init_type_def.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___i_c___init_type_def.html">PCA_IC_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCA Input Capture Configuration Structure definition  <a href="struct_p_c_a___i_c___init_type_def.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___o_c___init_type_def.html">PCA_OC_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCA Output Compare Configuration Structure definition  <a href="struct_p_c_a___o_c___init_type_def.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ga826f4f1f83585a44f05f3ffa15a1457e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga826f4f1f83585a44f05f3ffa15a1457e">PCA_CLOCK_SOURCE_PCLKDIV32</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="separator:ga826f4f1f83585a44f05f3ffa15a1457e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98b5f139ad7d355f06a1829bff34d059"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga98b5f139ad7d355f06a1829bff34d059">PCA_CLOCK_SOURCE_PCLKDIV16</a>&#160;&#160;&#160;(PCA_MOD_CPS_0)</td></tr>
<tr class="separator:ga98b5f139ad7d355f06a1829bff34d059"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8d90b191e39acdab713ed4a1d126315"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gab8d90b191e39acdab713ed4a1d126315">PCA_CLOCK_SOURCE_PCLKDIV8</a>&#160;&#160;&#160;(PCA_MOD_CPS_1)</td></tr>
<tr class="separator:gab8d90b191e39acdab713ed4a1d126315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab7c65f7844724f50dfb2cf5bb77bdb0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gaab7c65f7844724f50dfb2cf5bb77bdb0">PCA_CLOCK_SOURCE_PCLKDIV4</a>&#160;&#160;&#160;(PCA_MOD_CPS_1 | PCA_MOD_CPS_0)</td></tr>
<tr class="separator:gaab7c65f7844724f50dfb2cf5bb77bdb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03fd0b859cb4a7e0a6cd0668c667b690"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga03fd0b859cb4a7e0a6cd0668c667b690">PCA_CLOCK_SOURCE_PCLKDIV2</a>&#160;&#160;&#160;(PCA_MOD_CPS_2)</td></tr>
<tr class="separator:ga03fd0b859cb4a7e0a6cd0668c667b690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4b5c0a0796b737eb852ab554082928a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gae4b5c0a0796b737eb852ab554082928a">PCA_CLOCK_SOURCE_TIM0_OVERFLOW</a>&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_0)</td></tr>
<tr class="separator:gae4b5c0a0796b737eb852ab554082928a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33b9053e4b520327a1c9514058f67535"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#ga33b9053e4b520327a1c9514058f67535">PCA_CLOCK_SOURCE_TIM1_OVERFLOW</a>&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_1)</td></tr>
<tr class="separator:ga33b9053e4b520327a1c9514058f67535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac194429b50a55614675f4722b2fa0a4f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___clock___source___selection.html#gac194429b50a55614675f4722b2fa0a4f">PCA_CLOCK_SOURCE_ECI</a>&#160;&#160;&#160;(PCA_MOD_CPS_2 | PCA_MOD_CPS_1 | PCA_MOD_CPS_0)</td></tr>
<tr class="separator:gac194429b50a55614675f4722b2fa0a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga908c108e10b7437f97474c8911f13c54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_CLOCK_COURCE</b>(CLOCK_SOURCE)</td></tr>
<tr class="separator:ga908c108e10b7437f97474c8911f13c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb5db57c8f0ff4e4f01804f322bf2213"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IDLEMODE_DISABLE</b>&#160;&#160;&#160;(0x00000000)</td></tr>
<tr class="separator:gabb5db57c8f0ff4e4f01804f322bf2213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7245b53b6e20a55353b453be5ed97e47"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IDLEMODE_ENABLE</b>&#160;&#160;&#160;(0x00000080)</td></tr>
<tr class="separator:ga7245b53b6e20a55353b453be5ed97e47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d980c7a04be03f14553075d74b16b05"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_IDLEMODE</b>(IDLE_MODE)&#160;&#160;&#160;((IDLE_MODE == PCA_IDLEMODE_DISABLE) || (IDLE_MODE == PCA_IDLEMODE_ENABLE))</td></tr>
<tr class="separator:ga2d980c7a04be03f14553075d74b16b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafeccb7412876e7f2b2f21ded3f180f8d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_INPUT_POLARITY_NONE</b>&#160;&#160;&#160;(0x00000000)</td></tr>
<tr class="separator:gafeccb7412876e7f2b2f21ded3f180f8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdf65a03f54bdd318d6ffef31267dbba"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_INPUT_POLARITY_FALLING</b>&#160;&#160;&#160;(PCA_CCAPM0_CAPN)</td></tr>
<tr class="separator:gacdf65a03f54bdd318d6ffef31267dbba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a48d7c5b0a0e5f577818354dacd8db6"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_INPUT_POLARITY_RISING</b>&#160;&#160;&#160;(PCA_CCAPM0_CAPP)</td></tr>
<tr class="separator:ga9a48d7c5b0a0e5f577818354dacd8db6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc61e39eac93d5d726424cfedee1d664"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_INPUT_POLARITY_BOTH</b>&#160;&#160;&#160;(PCA_CCAPM0_CAPN | PCA_CCAPM0_CAPP)</td></tr>
<tr class="separator:gafc61e39eac93d5d726424cfedee1d664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49df846659533f824f2f12a72fe811bf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_INPUT_POLARATY</b>(INPUT_POLARATY)</td></tr>
<tr class="separator:ga49df846659533f824f2f12a72fe811bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacccf5a345148c1e601e3079e80459b8f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_FLAG_CC0</b>&#160;&#160;&#160;(PCA_CR_CCF0)</td></tr>
<tr class="separator:gacccf5a345148c1e601e3079e80459b8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07d26b447f71e1c2dae5bd8b0f258062"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_FLAG_CC1</b>&#160;&#160;&#160;(PCA_CR_CCF1)</td></tr>
<tr class="separator:ga07d26b447f71e1c2dae5bd8b0f258062"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70f77d6236f26c6c92d8502bf3e7e86d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_FLAG_CC2</b>&#160;&#160;&#160;(PCA_CR_CCF2)</td></tr>
<tr class="separator:ga70f77d6236f26c6c92d8502bf3e7e86d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae99adc25231b301f16bd0d5fed058425"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_FLAG_CC3</b>&#160;&#160;&#160;(PCA_CR_CCF3)</td></tr>
<tr class="separator:gae99adc25231b301f16bd0d5fed058425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf7f2a93b92478185ca619ab6a1c43ac8"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_FLAG_CC4</b>&#160;&#160;&#160;(PCA_CR_CCF4)</td></tr>
<tr class="separator:gaf7f2a93b92478185ca619ab6a1c43ac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a6e6ec9561f3fd3c98e6bc8b13800b5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_FLAG_OVERFLOW</b>&#160;&#160;&#160;(PCA_CR_CF)</td></tr>
<tr class="separator:ga2a6e6ec9561f3fd3c98e6bc8b13800b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6c1abf53266e1a0dd03c80a89464d76"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_FLAG</b>(FLAG)</td></tr>
<tr class="separator:gac6c1abf53266e1a0dd03c80a89464d76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8efb0a8d345459cb7c2743cbf07fae1"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IT_CC0</b>&#160;&#160;&#160;(0x01)</td></tr>
<tr class="separator:gaa8efb0a8d345459cb7c2743cbf07fae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c4ebadfd2f40a3b592ffe7dacc3b01e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IT_CC1</b>&#160;&#160;&#160;(0x02)</td></tr>
<tr class="separator:ga8c4ebadfd2f40a3b592ffe7dacc3b01e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabcbe79bb91cb720f60faaa12cf39a70d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IT_CC2</b>&#160;&#160;&#160;(0x04)</td></tr>
<tr class="separator:gabcbe79bb91cb720f60faaa12cf39a70d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7069c15806427950780c1271e1ed9d10"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IT_CC3</b>&#160;&#160;&#160;(0x08)</td></tr>
<tr class="separator:ga7069c15806427950780c1271e1ed9d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbdf872da81242ebfcab6bc61cb65f9e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IT_CC4</b>&#160;&#160;&#160;(0x10)</td></tr>
<tr class="separator:gacbdf872da81242ebfcab6bc61cb65f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02b73602e26f5453dc95be5f8a7e640f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_IT_OVERFLOW</b>&#160;&#160;&#160;(0x80)</td></tr>
<tr class="separator:ga02b73602e26f5453dc95be5f8a7e640f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73f675c57763aaefe4033a5d0bb1d22d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_IT</b>(PCA_IT)</td></tr>
<tr class="separator:ga73f675c57763aaefe4033a5d0bb1d22d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4dc7916f94440add9e97057eb33320a"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_CHANNEL_0</b>&#160;&#160;&#160;(0x01)</td></tr>
<tr class="separator:gae4dc7916f94440add9e97057eb33320a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa58bbdb77640891dd695b6199ec2787"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_CHANNEL_1</b>&#160;&#160;&#160;(0x02)</td></tr>
<tr class="separator:gafa58bbdb77640891dd695b6199ec2787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07288d5cfb6771524c1637467825eb16"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_CHANNEL_2</b>&#160;&#160;&#160;(0x04)</td></tr>
<tr class="separator:ga07288d5cfb6771524c1637467825eb16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab197a13da6cd1c114bf62a7cb591dc5b"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_CHANNEL_3</b>&#160;&#160;&#160;(0x08)</td></tr>
<tr class="separator:gab197a13da6cd1c114bf62a7cb591dc5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27f68c4f2f36b5065d35ad04f13c812a"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_CHANNEL_4</b>&#160;&#160;&#160;(0x10)</td></tr>
<tr class="separator:ga27f68c4f2f36b5065d35ad04f13c812a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd396d185cc5ec48a4a0eb0274c5a361"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PCA_CHANNEL_MASK</b>&#160;&#160;&#160;(0x1F)</td></tr>
<tr class="separator:gadd396d185cc5ec48a4a0eb0274c5a361"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa6a61894b0027f51d7dd1edca95b6217"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_CHANNEL</b>(CHANNEL)&#160;&#160;&#160;((CHANNEL &amp; PCA_CHANNEL_MASK) != 0x00)</td></tr>
<tr class="separator:gaa6a61894b0027f51d7dd1edca95b6217"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga947e12db34eb7e606efaa98dfb40bb87"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___output___compare___enable.html#ga947e12db34eb7e606efaa98dfb40bb87">PCA_OC_ENABLE</a>&#160;&#160;&#160;(PCA_CCAPM0_ECOM)</td></tr>
<tr class="separator:ga947e12db34eb7e606efaa98dfb40bb87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga345e00097e7e7693145230d86323eb2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___output___compare___enable.html#ga345e00097e7e7693145230d86323eb2c">PCA_OC_DISABLE</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="separator:ga345e00097e7e7693145230d86323eb2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0fb2106da2de8cffda4e74e4af96bc2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_OC_ENABLE</b>(OC_ENABLE)&#160;&#160;&#160;((OC_ENABLE == <a class="el" href="group___p_c_a___output___compare___enable.html#ga947e12db34eb7e606efaa98dfb40bb87">PCA_OC_ENABLE</a>) || (OC_ENABLE == <a class="el" href="group___p_c_a___output___compare___enable.html#ga345e00097e7e7693145230d86323eb2c">PCA_OC_DISABLE</a>))</td></tr>
<tr class="separator:gac0fb2106da2de8cffda4e74e4af96bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41d63c269028bc014ef6bae1bc0ce079"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___toggle___enable.html#ga41d63c269028bc014ef6bae1bc0ce079">PCA_TOG_ENABLE</a>&#160;&#160;&#160;(PCA_CCAPM0_MAT | PCA_CCAPM0_TOG)</td></tr>
<tr class="separator:ga41d63c269028bc014ef6bae1bc0ce079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebb2ade5acb4ce31a60cc2d77891a8c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___toggle___enable.html#gaebb2ade5acb4ce31a60cc2d77891a8c9">PCA_TOG_DISABLE</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="separator:gaebb2ade5acb4ce31a60cc2d77891a8c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga860e077364441b2bf0db9355c9be804e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_TOG_ENABLE</b>(TOG_ENABLE)&#160;&#160;&#160;((TOG_ENABLE == <a class="el" href="group___p_c_a___toggle___enable.html#ga41d63c269028bc014ef6bae1bc0ce079">PCA_TOG_ENABLE</a>) || (TOG_ENABLE == <a class="el" href="group___p_c_a___toggle___enable.html#gaebb2ade5acb4ce31a60cc2d77891a8c9">PCA_TOG_DISABLE</a>))</td></tr>
<tr class="separator:ga860e077364441b2bf0db9355c9be804e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga911b75f06ab6307e2bcba6750e7c9773"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___pwm___enable.html#ga911b75f06ab6307e2bcba6750e7c9773">PCA_PWM_ENABLE</a>&#160;&#160;&#160;(PCA_CCAPM0_PWM)</td></tr>
<tr class="separator:ga911b75f06ab6307e2bcba6750e7c9773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b9d29090738182d44951cf7c436dd82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___pwm___enable.html#ga0b9d29090738182d44951cf7c436dd82">PCA_PWM_DISABLE</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="separator:ga0b9d29090738182d44951cf7c436dd82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab65554577ef85064e255c5cdf94540a2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_PCA_PWM_ENABLE</b>(PWM_ENABLE)&#160;&#160;&#160;((PWM_ENABLE == <a class="el" href="group___p_c_a___pwm___enable.html#ga911b75f06ab6307e2bcba6750e7c9773">PCA_PWM_ENABLE</a>) || (PWM_ENABLE == <a class="el" href="group___p_c_a___pwm___enable.html#ga0b9d29090738182d44951cf7c436dd82">PCA_PWM_DISABLE</a>))</td></tr>
<tr class="separator:gab65554577ef85064e255c5cdf94540a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga8b7713c6e7622a517a51d8ac3c497527"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga8b7713c6e7622a517a51d8ac3c497527">PCA_BaseInit</a> (<a class="el" href="struct_p_c_a___base_init_type_def.html">PCA_BaseInitTypeDef</a> *PCA_InitStruct)</td></tr>
<tr class="memdesc:ga8b7713c6e7622a517a51d8ac3c497527"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the PCA Unit basic function according to the specified parameters in the PCA_HandleTypeDef.  <a href="group___p_c_a.html#ga8b7713c6e7622a517a51d8ac3c497527">更多...</a><br /></td></tr>
<tr class="separator:ga8b7713c6e7622a517a51d8ac3c497527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0d80e150fa24aad4107a4244f93ab16"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gaf0d80e150fa24aad4107a4244f93ab16">PCA_OC_Config</a> (<a class="el" href="struct_p_c_a___o_c___init_type_def.html">PCA_OC_InitTypeDef</a> *OC_Config)</td></tr>
<tr class="memdesc:gaf0d80e150fa24aad4107a4244f93ab16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the PCA output compare Channels according to the specified parameters in the <a class="el" href="struct_p_c_a___o_c___init_type_def.html" title="PCA Output Compare Configuration Structure definition">PCA_OC_InitTypeDef</a>.  <a href="group___p_c_a.html#gaf0d80e150fa24aad4107a4244f93ab16">更多...</a><br /></td></tr>
<tr class="separator:gaf0d80e150fa24aad4107a4244f93ab16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga967ca99641e3595e38ebc3fc2416d57c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga967ca99641e3595e38ebc3fc2416d57c">PCA_IC_Config</a> (<a class="el" href="struct_p_c_a___i_c___init_type_def.html">PCA_IC_InitTypeDef</a> *IC_Config)</td></tr>
<tr class="memdesc:ga967ca99641e3595e38ebc3fc2416d57c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the PCA input capture Channels according to the specified parameters in the <a class="el" href="struct_p_c_a___i_c___init_type_def.html" title="PCA Input Capture Configuration Structure definition">PCA_IC_InitTypeDef</a>.  <a href="group___p_c_a.html#ga967ca99641e3595e38ebc3fc2416d57c">更多...</a><br /></td></tr>
<tr class="separator:ga967ca99641e3595e38ebc3fc2416d57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9876456753dbb5955606cb223a253440"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga9876456753dbb5955606cb223a253440">PCA_GetCompareValue</a> (uint32_t Channel)</td></tr>
<tr class="memdesc:ga9876456753dbb5955606cb223a253440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the PCA Capture Compare Register value on runtime  <a href="group___p_c_a.html#ga9876456753dbb5955606cb223a253440">更多...</a><br /></td></tr>
<tr class="separator:ga9876456753dbb5955606cb223a253440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2708d3c74da3ca91a99876370acaecfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga2708d3c74da3ca91a99876370acaecfc">PCA_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga2708d3c74da3ca91a99876370acaecfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the PCA peripheral.  <a href="group___p_c_a.html#ga2708d3c74da3ca91a99876370acaecfc">更多...</a><br /></td></tr>
<tr class="separator:ga2708d3c74da3ca91a99876370acaecfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73b40ab08526d1061e2976323b91c011"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga73b40ab08526d1061e2976323b91c011">PCA_OC_Cmd</a> (uint32_t Channel, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga73b40ab08526d1061e2976323b91c011"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the PCA output compare generation.  <a href="group___p_c_a.html#ga73b40ab08526d1061e2976323b91c011">更多...</a><br /></td></tr>
<tr class="separator:ga73b40ab08526d1061e2976323b91c011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga171398258479aa84481d20b9b280ec9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga171398258479aa84481d20b9b280ec9c">PCA_OC_INVCmd</a> (uint32_t Channel, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga171398258479aa84481d20b9b280ec9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the PCA inverse output compare generation.  <a href="group___p_c_a.html#ga171398258479aa84481d20b9b280ec9c">更多...</a><br /></td></tr>
<tr class="separator:ga171398258479aa84481d20b9b280ec9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab97a81e235b9e8d9a8bd9244619eba34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gab97a81e235b9e8d9a8bd9244619eba34">PCA_DeInit</a> (void)</td></tr>
<tr class="memdesc:gab97a81e235b9e8d9a8bd9244619eba34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the PCA peripheral registers to their default reset values.  <a href="group___p_c_a.html#gab97a81e235b9e8d9a8bd9244619eba34">更多...</a><br /></td></tr>
<tr class="separator:gab97a81e235b9e8d9a8bd9244619eba34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66a4eddd3a03c8f134183bcff0cebb3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga66a4eddd3a03c8f134183bcff0cebb3e">PCA_ITConfig</a> (uint8_t PCA_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga66a4eddd3a03c8f134183bcff0cebb3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified PCA interrupt.  <a href="group___p_c_a.html#ga66a4eddd3a03c8f134183bcff0cebb3e">更多...</a><br /></td></tr>
<tr class="separator:ga66a4eddd3a03c8f134183bcff0cebb3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3811dff53cc45c4f10f9373aad3eee4a"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga3811dff53cc45c4f10f9373aad3eee4a">PCA_GetFlagStatus</a> (uint8_t PCA_FLAG)</td></tr>
<tr class="memdesc:ga3811dff53cc45c4f10f9373aad3eee4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified PCA flag is set or not.  <a href="group___p_c_a.html#ga3811dff53cc45c4f10f9373aad3eee4a">更多...</a><br /></td></tr>
<tr class="separator:ga3811dff53cc45c4f10f9373aad3eee4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5e4f13f9f080e7962477fa6a0a823bf"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gab5e4f13f9f080e7962477fa6a0a823bf">PCA_GetITStatus</a> (uint8_t PCA_IT)</td></tr>
<tr class="memdesc:gab5e4f13f9f080e7962477fa6a0a823bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified PCA interrupt is set or not.  <a href="group___p_c_a.html#gab5e4f13f9f080e7962477fa6a0a823bf">更多...</a><br /></td></tr>
<tr class="separator:gab5e4f13f9f080e7962477fa6a0a823bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4dc308ce812dd8ede71b5b699d84b1a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga4dc308ce812dd8ede71b5b699d84b1a9">PCA_ClearITPendingBit</a> (uint8_t PCA_IT)</td></tr>
<tr class="memdesc:ga4dc308ce812dd8ede71b5b699d84b1a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the PCA's interrupt pending bits.  <a href="group___p_c_a.html#ga4dc308ce812dd8ede71b5b699d84b1a9">更多...</a><br /></td></tr>
<tr class="separator:ga4dc308ce812dd8ede71b5b699d84b1a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae004d9f618bd46ac9b084ba700bb0d01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gae004d9f618bd46ac9b084ba700bb0d01">PCA_ClearFlag</a> (uint8_t PCA_FLAG)</td></tr>
<tr class="memdesc:gae004d9f618bd46ac9b084ba700bb0d01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the PCA's pending flags.  <a href="group___p_c_a.html#gae004d9f618bd46ac9b084ba700bb0d01">更多...</a><br /></td></tr>
<tr class="separator:gae004d9f618bd46ac9b084ba700bb0d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a89870fbe89fe0c70e0f59a100b3f5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga8a89870fbe89fe0c70e0f59a100b3f5f">PCA_SetPWMDuty</a> (uint32_t Channel, uint8_t Duty)</td></tr>
<tr class="memdesc:ga8a89870fbe89fe0c70e0f59a100b3f5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets PCA PWM ouput duty cycle.  <a href="group___p_c_a.html#ga8a89870fbe89fe0c70e0f59a100b3f5f">更多...</a><br /></td></tr>
<tr class="separator:ga8a89870fbe89fe0c70e0f59a100b3f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae90bab8b8bf3a4b1cccdd5e12d81a675"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gae90bab8b8bf3a4b1cccdd5e12d81a675">PCA_IC0_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:gae90bab8b8bf3a4b1cccdd5e12d81a675"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel0 (PCA Input capture).  <a href="group___p_c_a.html#gae90bab8b8bf3a4b1cccdd5e12d81a675">更多...</a><br /></td></tr>
<tr class="separator:gae90bab8b8bf3a4b1cccdd5e12d81a675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8598c00201b2ba51075ffb37f58571f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gaf8598c00201b2ba51075ffb37f58571f">PCA_IC1_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:gaf8598c00201b2ba51075ffb37f58571f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel1 (PCA Input capture).  <a href="group___p_c_a.html#gaf8598c00201b2ba51075ffb37f58571f">更多...</a><br /></td></tr>
<tr class="separator:gaf8598c00201b2ba51075ffb37f58571f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga065d7157f6cd2f9bbff49eaa308a05e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga065d7157f6cd2f9bbff49eaa308a05e2">PCA_IC2_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:ga065d7157f6cd2f9bbff49eaa308a05e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel2 (PCA Input capture).  <a href="group___p_c_a.html#ga065d7157f6cd2f9bbff49eaa308a05e2">更多...</a><br /></td></tr>
<tr class="separator:ga065d7157f6cd2f9bbff49eaa308a05e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c480dae466f9614741031d439c2e4a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#ga2c480dae466f9614741031d439c2e4a9">PCA_IC3_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:ga2c480dae466f9614741031d439c2e4a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel3 (PCA Input capture).  <a href="group___p_c_a.html#ga2c480dae466f9614741031d439c2e4a9">更多...</a><br /></td></tr>
<tr class="separator:ga2c480dae466f9614741031d439c2e4a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad58462fa11fae84c6bd44f9d0616c26e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a.html#gad58462fa11fae84c6bd44f9d0616c26e">PCA_IC4_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:gad58462fa11fae84c6bd44f9d0616c26e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel4 (PCA Input capture).  <a href="group___p_c_a.html#gad58462fa11fae84c6bd44f9d0616c26e">更多...</a><br /></td></tr>
<tr class="separator:gad58462fa11fae84c6bd44f9d0616c26e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>This file contains all the functions prototypes for the PCA firmware library. </p>
<dl class="section author"><dt>作者</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>版本</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
